﻿/*
*┌────────────────────────────────────────────────┐
*│　描    述：RetDTO                                                   
*│　作    者： (Jxw)                                             
*│　版    本：1.0     
*│　功能描述：                                          
*│　创建时间：2021/4/19 16:21:41                        
*└────────────────────────────────────────────────┘
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class RetDTO
    {
        /// <summary>
        /// 消息ID  uuid
        /// </summary>
        public string msgId { get; set; }
        /// <summary>
        /// creationTime  格式：YYYYMMDDHHMMSS(24h)
        /// </summary>
        public string creationTime { get; set; }

        /// <summary>
        /// 请求消息ID   对应请求消息的msgId
        /// </summary>
        public string targetMsgId { get; set; }
        public RetCode ack { get; set; }


    }

    public class RetCode {

        /// <summary>
        /// 结果代码 0成功，-1异常
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 结果描述
        /// </summary>
        public string text { get; set; }

        /// <summary>
        /// 返回数据集
        /// </summary>
        //public object res { get; set; }
        public List<ResItem> res { get; set; }

    }


    public class GDNRetCode
    {

        /// <summary>
        /// 状态码 2000成功
        /// </summary>
        public int code { get; set; }

        /// <summary>
        /// 结果
        /// </summary>
        public string result { get; set; }

        /// <summary>
        ///状态描述
        /// </summary>
        public string message { get; set; }

    }
}
